<?php

namespace app\common\validate;
use think\Validate;
class Department extends Validate

{

    protected $rule = [
        'name'  => 'require',
    ];
	protected $message = [
        'name'  => '名称不能为空',
    ];

    protected $scene = [
	   'add' => ['name'],

    ];

}